package org.zfes.snowier.zbss.xzy.biz.agreement.model;
import org.zfes.snowier.core.data.IBaseModel;
public class Agreement extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public Agreement() {}
	public Agreement(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long typeId;
 

	  private java.lang.Long productId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="标题长度不能大于100")
	  private java.lang.String title;
 
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
 

	  private java.lang.Byte status;
 

	  private java.util.Date createTime;
 

	  private java.util.Date updateTime;
 
	@org.hibernate.validator.constraints.Length(min=0,max=30,message="版本长度不能大于30")
	  private java.lang.String version;
 
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="标题长度不能大于65,535")
	  private java.lang.String content;
 
	
	//<-------------------------------------------->
	public Agreement setTypeId(java.lang.Long typeId){
	 this.typeId=typeId;
	 return this;
	}
	public java.lang.Long getTypeId(){
		return this.typeId;
	}
	public Agreement setProductId(java.lang.Long productId){
	 this.productId=productId;
	 return this;
	}
	public java.lang.Long getProductId(){
		return this.productId;
	}
	public Agreement setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}
	public Agreement setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public Agreement setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public Agreement setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public Agreement setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public Agreement setVersion(java.lang.String version){
		this.version=version==null?null:version.trim();
	 return this;
	}
	public java.lang.String getVersion(){
		return this.version;
	}
	public Agreement setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}

}
